-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block upload if size exceeds capacity #2053
Conversation
Your Render PR Server URL is https://storage-ui-stage-pr-2053.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c90vka7h8vldrp8ol0fg. |
Your Render PR Server URL is https://files-ui-stage-pr-2053.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c90vkb7h8vldrp8ol0t0. |
Your Render PR Server URL is https://chainsafe-components-stage-pr-2053.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c90vkcfh8vldrp8ol1eg. |
packages/files-ui/src/Components/Modules/FileBrowsers/UploadFileModal.tsx
Outdated
Show resolved
Hide resolved
I'm not able to upload enough files to test this at the moment but I check again later once the current upload issue is resolved. Hopefully, I can intercept and stub the capacity in charles and avoid the need to upload 20gb worth of data. |
Should be easy enough to intercept the GET |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great ! Tried all the ways we can upload.
Made me think about this.
Whats our policy if the shared folder owner is not the current user ?
I see that shared users with edit access can upload without any restriction.
Ahh I saw the reply later. Makes perfect sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, it's working well. Just left a couple suggestions for readability and a small layout thing.
packages/files-ui/src/Components/Modules/FileBrowsers/UploadFileModal.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/FileBrowsers/UploadFileModal.tsx
Outdated
Show resolved
Hide resolved
…leModal.tsx Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
…leModal.tsx Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
closes #2030
Submission checklist:
Layout
Theme
Billing